package cn.zhaozhiqi.user.service;

import cn.zhaozhiqi.user.domain.User;
import cn.zhaozhiqi.user.query.UserQuery;
import cn.zhaozhiqi.util.PageList;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {
    User getByID(Long id);

    void getAll();

    void addData(User user);

    void updateByID(User user);

    void deleteByID(Long id);

    PageInfo<User> userLimit(UserQuery query);

    void batchdelete(List<Long> ids);
}
